  <div class="submenu-z wrap">
      <div {if condition="$Request.controller eq 'Index'"} class="submenu " {else/} class="submenu sub-white hide" {/if}><!-- sub-white hide -->
          <ul>
          {foreach name='parent_category' item='vo'}
              <li>
                    <a class="submenu-a" href="{:url('goods/product/index',array('id' => $vo['typeid']))}">{$vo.classname}</a>
                    {foreach name='vo.son_category' item='so'}
                    <div class="submenu-pro clearfix">
                        <div class="submenu-total">
                          {foreach name='so' item='co'}
                            <div class="submenu-list">
                                <a href="{:url('goods/product/index',array('id' => $co['typeid']))}">
                                    <div class="submenu-img middle"><img src="{$co.thumb}" /></div>
                                    <div class="submenu-txt middle">{$co.classname}</div>
                                </a>
                            </div>
                          {/foreach}
                            
                        </div>
                    </div>
                    {/foreach}
                </li>
              {/foreach}
              <li><a class="submenu-a" href="">人群</a></li>
              <li><a class="submenu-a" href="">品牌</a></li>
              <li><a class="submenu-a" href="">色系</a></li>
          </ul>
      </div>
  </div>